package com.base.service.impl;

import com.base.mapper.voipmapper.ExpressDeliveryMapper;
import com.base.po.voip.ExpressDelivery;
import com.base.po.voip.ExpressDeliveryExample;
import com.base.service.ExpressDeliveryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("expressDeliveryService")
public class ExpressDeliveryServiceImpl implements ExpressDeliveryService {
	
	@Autowired
	private ExpressDeliveryMapper expressDeliveryMapper;


	@Override
	public int countByExample(ExpressDeliveryExample example) {
		return expressDeliveryMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ExpressDeliveryExample example) {
		return expressDeliveryMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return expressDeliveryMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ExpressDelivery record) {
		return expressDeliveryMapper.insert(record);
	}

	@Override
	public int insertSelective(ExpressDelivery record) {
		return expressDeliveryMapper.insertSelective(record);
	}

	@Override
	public List<ExpressDelivery> selectByExample(ExpressDeliveryExample example) {
		return expressDeliveryMapper.selectByExample(example);
	}

	@Override
	public List<ExpressDelivery> selectAll() {
		return expressDeliveryMapper.selectAll();
	}

	@Override
	public ExpressDelivery selectByPrimaryKey(Integer id) {
		return expressDeliveryMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(ExpressDelivery record, ExpressDeliveryExample example) {
		return expressDeliveryMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ExpressDelivery record, ExpressDeliveryExample example) {
		return expressDeliveryMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ExpressDelivery record) {
		return expressDeliveryMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ExpressDelivery record) {
		return expressDeliveryMapper.updateByPrimaryKey(record);
	}
}
